package com.neusoft.bizcore.auth.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.bizcore.auth.model.AuthUser;

public interface AuthUserRepository extends JpaRepository<AuthUser, Long>, CustomizedAuthUserRepository {
    AuthUser findByUsername(String username);

    AuthUser findByUsernameAndPassword(String username, String password);

    List<AuthUser> findByUsernameIn(List<String> usernames);

}
